package com.lww.springcloudapi.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor //无参构造
@Accessors(chain = true) //链式编程
@ApiModel(value="TabHallSetmeal对象", description="套餐实体")
public class TabHallSetmeal implements Serializable {

    @ApiModelProperty(value = "套餐id")
    @TableId("setmealid")
    private int id; //套餐id

    @ApiModelProperty(value = "流量(/m为单位)")
    @TableField("flow")
    private int flow; //流量(/m为单位)

    @ApiModelProperty(value = "通话时常")
    @TableField("conversationtime")
    private int conversationtime; //通话时常

    @ApiModelProperty(value = "短信条数")
    @TableField("message")
    private int message; //短信条数
    
    @ApiModelProperty(value = "通话时常")
    @TableField("money")
    private Double money; //通话时常

    @ApiModelProperty(value = "套餐标题")
    @TableField("title")
    private String title; //套餐标题

}
